home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_15.lha
/
6_15
/
6_15h21.h
< prev
next >
Wrap
Text File
|
1993-08-08
|
259b
|
11 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ x = a.dot(b)
loat vec4::dot(vec4 a)
return f[0] * a.f[0] + f[1] * a.f[1] +
f[2] * a.f[2] + f[3] * a.f[3];